<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <title>首页</title>
</head>
<body>
<p th:text="${message}">欢迎消息</p>
<p th:text="${data.title}">标题</p>
<p th:text="${data.desc}">描述</p>

<a href="/login">登录</a>
<a href="/register">注册</a>

</body>
</html>